package com.ruoyi.system.mapper.gallery;

import com.ruoyi.system.domain.gallery.GalleryComment;

import java.util.List;

/**
 * 图库评论Mapper接口
 * 
 * @author 张少丛
 * @date 2020-12-02
 */
public interface GalleryCommentMapper 
{
    /**
     * 查询图库评论
     * 
     * @param galleryCommentId 图库评论ID
     * @return 图库评论
     */
    public GalleryComment selectGalleryCommentById(Long galleryCommentId);

    /**
     * 查询图库评论列表
     * 
     * @param galleryComment 图库评论
     * @return 图库评论集合
     */
    public List<GalleryComment> selectGalleryCommentList(GalleryComment galleryComment);

    /**
     * 新增图库评论
     * 
     * @param galleryComment 图库评论
     * @return 结果
     */
    public int insertGalleryComment(GalleryComment galleryComment);

    /**
     * 修改图库评论
     * 
     * @param galleryComment 图库评论
     * @return 结果
     */
    public int updateGalleryComment(GalleryComment galleryComment);

    /**
     * 删除图库评论
     * 
     * @param galleryCommentId 图库评论ID
     * @return 结果
     */
    public int deleteGalleryCommentById(Long galleryCommentId);

    /**
     * 批量删除图库评论
     * 
     * @param galleryCommentIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGalleryCommentByIds(Long[] galleryCommentIds);
}
